Passed
Pull Request — master (#258)
by Dominik
05:19
created

customizerControls.js ➔ importAll   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
import './scripts/publicPath'
2
import './customizerControls.scss'
3
4
function importAll (r) {
5
  r.keys().forEach(r)
6
}
7
8
importAll(require.context('../lib/Customizer/', true, /\/control\.js$/))
9